import layout from '@/layout'

export default {
  path: '/user',
  name: 'user',
  redirect: '/user/index',
  component: layout,
  meta: {
    title: '人员管理',
    icon: 'tree-table'
  },
  children: [
    {
      path: '/user/index',
      name: 'index',
      component: () => import('../../views/personnel/PersonnelList.vue'),
      meta: {
        title: '人员列表'
      }
    }, {
      path: '/user/user-task-stats',
      name: 'user-task-stats',
      component: () => import('../../views/personnel/PersonnelStatistics.vue'),
      meta: {
        title: '人效统计'
      }
    }, {
      path: '/user/user-work',
      name: 'user-work',
      component: () => import('../../views/personnel/WorkloadList.vue'),
      meta: {
        title: '工作量列表'
      }
    }
  ]
}
